package com.coincalf.admin.dto;

import com.coincalf.admin.entity.User;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Create Time: 2018年06月04日 17:49
 *
 * @author lxl
 * @Dec
 **/
@Data
@Accessors(chain = true)
public class UserDTO extends User {

    @ApiModelProperty(value="审核状态，0待审核，1审核通过，2审核拒绝",name ="countDate" ,required = false)
    private Integer userAuthStatus;

    /**
     * 0-成功1失败
     *     public
     * @return
     */
    public Integer getUserAuthStatus() {
        if(null == this.userAuthStatus){
            return  -1;
        }else{
            return  this.userAuthStatus;
        }
    }

    public void setUserAuthStatus(Integer userAuthStatus) {
        this.userAuthStatus = userAuthStatus;
    }


}
